#pragma once

#include<iostream>
#include<string>
#include<set>
#include<iomanip>
using namespace std;

class employee
{
public:
	employee();
	employee(int id, string name, string birthday, string deg, string office, string phone, string address);
	int get_id() const;
	void print() const;
	string get_name() const;
private:
	int _id;
	string _name;
	string _sex;
	string _birthday;
	string _degree;
	string _office;
	string _phone;
	string _address;
};

struct cmp
{
	bool operator()(const employee& e1, const employee& e2) const;
};

class hrms
{
public:
	hrms();
	void printemployee();
	void query();
	void insert();
	void dele();
	void change();
private:
	set<employee,cmp> m;
};


void menu();